/*
 *Copyright (c) 2012 Mango Persistence Model
 */
package ext.mango.ab.eo;

import mango.orm.entity.Entity;
import mango.orm.entity.Table;
import mango.orm.entity.Column;
import mango.orm.OrmTypes;
import java.sql.Types;

/**
 * ABHouseKeeperTypeItems
 * @serial 1342626169519
 */
@Table("ABHOUSEKEEPERTYPEITEMS")
public class EOABHouseKeeperTypeItems extends Entity {
    private static final long serialVersionUID = -134262616951955669L;

    /**
     * Name    : spendType
     * Code    : spendType
     * Comment : 
     **/
    @Column(column="SPENDTYPE", primary=true, type=Types.VARCHAR)
    public String getSpendType() {
        return OrmTypes.convert(String.class, this.get("SPENDTYPE"));
    }

    public EOABHouseKeeperTypeItems setSpendType(String spendType) {
        this.set("SPENDTYPE", spendType);
        return this;
    }

    /**
     * Name    : Item
     * Code    : Item
     * Comment : 
     **/
    @Column(column="ITEM", primary=true, type=Types.VARCHAR)
    public String getItem() {
        return OrmTypes.convert(String.class, this.get("ITEM"));
    }

    public EOABHouseKeeperTypeItems setItem(String item) {
        this.set("ITEM", item);
        return this;
    }

    /**
     * Name    : operator
     * Code    : operator
     * Comment : 
     **/
    @Column(column="OPERATOR", primary=false, type=Types.VARCHAR)
    public String getOperator() {
        return OrmTypes.convert(String.class, this.get("OPERATOR"));
    }

    public EOABHouseKeeperTypeItems setOperator(String operator) {
        this.set("OPERATOR", operator);
        return this;
    }

}
